/**
 * Created by xiaobao on 2016/5/5.
 */
public class IsTriangle {
    int equilateral;
    int lsosceles;
    int scalene;

    IsTriangle(){
        equilateral = 0;
        lsosceles = 1;
        scalene = 2;
    }
    public int isTriangle(int a ,int b , int c){
        if( a == b&&b == c){
            return equilateral;
        }else if( a == b || a == c|| b == c){
            return  lsosceles;
        }else{
            return  scalene;
        }
    }
}
